//
// Created by postgres on 5/2/17.
//

#ifndef MYDATASTRUCTURES_TREE_H
#define MYDATASTRUCTURES_TREE_H

#include "string.h"
#include "../common/common.h"
#define BiTreeMAXSIZE 25 /* 存储空间初始分配量 */
typedef char TElemType;
//TElemType Nil=' '; /* 字符型以空格符为空 */

typedef struct BiTNode  /* 结点结构 */
{
    TElemType data;		/* 结点数据 */
    struct BiTNode *lchild,*rchild; /* 左右孩子指针 */
}BiTNode;
typedef BiTNode *BiTree;
int biTree_main();
void tree_parent_test();
void ctree_test();
#endif //MYDATASTRUCTURES_TREE_H
